import result.ScoreList;

public class Main {
    public static void main(String[] args)
    {
        ScoreList scoreList=new ScoreList();
        User user=new User();
        while(true){
            int choice=user.showMenu();
            if(choice==0){
                break;
            }
            System.out.println("choice:"+choice);
            user.doOperation(choice,scoreList);
        }
    }
}
